<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j"
     >
      <body style="overflow: hidden">
        <h:form>
         <a4j:include viewId="toolBar.xhtml"/>
         <div style="overflow-y:auto;width:100%;height:98%">
         
                  
                     <rich:tree  switchType="client" iconLeaf="/images/node.gif">
                         <rich:treeNodesAdaptor  nodes="#{critSession.allCriterions}" var="crit">
                           <rich:treeNode>
                             #{crit.code}/#{crit.description}
                           </rich:treeNode>
                           <rich:treeNodesAdaptor  nodes="#{crit.bankGroups}" var="gr">
                             <rich:treeNode>
                              #{gr.code}/#{gr.description}
                             </rich:treeNode>
                           </rich:treeNodesAdaptor>
                         </rich:treeNodesAdaptor>
                     </rich:tree>
                  
               
        </div>
        </h:form>
      </body>
</html>